package com.xsz.service;

import com.xsz.entity.DictType;
import com.xsz.repository.DictTypeRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DictTypeService {
    @Resource
    DictTypeRepository dictTypeRepository;

    public DictType getById(String id){
        return  dictTypeRepository.findById(id).get();
    }
}
